﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DGIS.Service.IService.ICoordService
{
    public interface ICoordConvertService
    {
        /// <summary>
        /// 经纬度转平面坐标
        /// </summary>
        /// <param name="lon"></param>
        /// <param name="lat"></param>
        /// <returns></returns>
        double[] LonLatToXY(double lon, double lat);

        /// <summary>
        /// 平面坐标转经纬度
        /// </summary>
        /// <param name="lon"></param>
        /// <param name="lat"></param>
        /// <returns></returns>
        double[] XYToLonLat(double lon, double lat);        
    }
}
